<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title> - 注册</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico"> <link href="/static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/static/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="/static/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="/static/css/animate.css" rel="stylesheet">
    <link href="/static/css/style.css?v=4.1.0" rel="stylesheet">
    <script>if(window.top !== window.self){ window.top.location = window.location;}</script>

</head>

<body class="gray-bg">

    <div class="middle-box text-center loginscreen   animated fadeInDown">
        <div>
            <div>

                <h1 class="logo-name">H+</h1>

            </div>
            <h3>欢迎注册</h3>
            <p>创建一个新账户</p>
            <form class="m-t" method="post">
                {{form.csrf_token}}
                <div class="form-group">
                    {{form.email}}
                    {% for msg in form.email.errors %}
                    <small>{{msg}}</small>
                    {% endfor %}
                </div>
                <div class="form-group">
                    {{form.username}}
                    {% for msg in form.username.errors %}
                    <small>{{msg}}</small>
                    {% endfor %}
                </div>
                <div class="form-group">
                    {{form.password}}
                    {% for msg in form.password.errors %}
                    <small>{{msg}}</small>
                    {% endfor %}
                </div>
                <div class="form-group">
                    {{form.password2}}
                    {% for msg in form.password2.errors %}
                    <small>{{msg}}</small>
                    {% endfor %}
                </div>
                {{form.submit}}
                <p class="text-muted text-center"><small>已经有账户了？</small><a href="/auth/login">点此登录</a>
                </p>

            </form>
        </div>
    </div>

    <!-- 全局js -->
    <script src="/static/js/jquery.min.js?v=2.1.4"></script>
    <script src="/static/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- iCheck -->
    <script src="/static/js/plugins/iCheck/icheck.min.js"></script>
    <script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
    </script>

    
    

</body>

</html>
